home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / bbs / con_005c.zip / CONCORD.RAR / SCRIPT.RAR / RAWEMUL.SCR < prev    next >
Text File  |  1997-04-25  |  886b  |  28 lines

  1. ; RAWEMUL.SCR : Example script to change the text file type
  2. ;               (see RAWEMUL.CTL).
  3. ;
  4. ; TEXTFILETYPE can be used to enable eg. RIP support in Concord.
  5. ;
  6. ; By default, not called from anywhere; you should add
  7. ; a Run Script menutype yourself to some menu to use
  8. ; this script file.
  9. ;
  10. ; The default setting is .ANS with convertion to ASCII/ANSI/AVATAR
  11. ; and can be turned on with command :
  12. ; SET @TEXTFILETYPE@ = 0
  13.  
  14. var %TYPE% = NUMBER
  15. set %TYPE% = 0
  16. write "^C14,0;Do you want to use :^M;"
  17. write "^C11,0;0 ^C7,0;-^C11,0; Automatic^M;"
  18. write "^C11,0;1 ^C7,0;-^C11,0; ASCII^M;"
  19. write "^C11,0;2 ^C7,0;-^C11,0; ANSI^M;"
  20. write "^C11,0;3 ^C7,0;-^C11,0; AVATAR^M;"
  21. write "^C11,0;4 ^C7,0;-^C11,0; RIP^M;"
  22. write "^C14,0;Make your selection (~10,~21,~32,~43,~54) [0] : ^W;^M;"
  23. if (@ANSWER@ > 0)
  24.   set %TYPE% = (@ANSWER@-1)
  25. end
  26. set @TEXTFILETYPE@ = %TYPE%
  27. quit
  28.